-- GENERATED SPELL FOR [Scourge Hulk] --


function spell0_26555(pUnit, Event) --@Mighty Blow,n/a--
pUnit:FullCastSpellOnTarget(48697,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26555', 564, 1)
end

function spell1_26555(pUnit, Event) --@Volatile Infection,n/a--
pUnit:FullCastSpellOnTarget(56785,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26555', 30000, 1)
end

function spell2_26555(pUnit, Event) --@Volatile Infection,n/a--
pUnit:FullCastSpellOnTarget(59228,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26555', 30000, 1)
end

function Sorts_26555(pUnit, Event)
local choix_sorts_26555 = math.random(0, 2)
if choix_sorts_26555 == 0 then
pUnit:RegisterEvent('spell0_26555', 1, 1)
end
if choix_sorts_26555 == 1 then
pUnit:RegisterEvent('spell1_26555', 1, 1)
end
if choix_sorts_26555 == 2 then
pUnit:RegisterEvent('spell2_26555', 1, 1)
end
end

function mob26555_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26555', math.random(1500, 3000), 1)
end

function mob26555_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26555_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26555_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26555, 1, 'mob26555_Action')
RegisterUnitEvent(26555, 2, 'mob26555_Leave')
RegisterUnitEvent(26555, 3, 'mob26555_Kill')
RegisterUnitEvent(26555, 4, 'mob26555_Die')
